1. SPECIFIC PROCESSORS
1.1. Pre-specified languages
1.1.1. List of available languages in KM2
Available languages in KM2 are :-
for documents
- html
- latex
- markdown
-
for programms
- python
- prolog
- javascript/nodejs
- ada
- C/C++
- ...
1.1.2. Activating a specific language
Just start with the *module* keyword and the language : |
|
1.2. Common features for all languages
|
WARNING : the documentation is incomplete |
2. Building a specific processor for an application language
A specific processor can be (quite) easily built into KM2.2.1. The problem
We want to define and use a new language. This "language" is either text or programm based. make sure that we can generate a file with one line2.2. First, make sure that we can generate a file with one line
2.3. Creating the basic tools and macros
...